/*
 * Project Name: cms_web
 * File Name: IndexBaseAction.java
 * Copyright: ZKTeco Corporation 2015
 * Description: TODO 请在此处添加对本文件的描述
 * Creator: Administrator
 * Create Date: 2015年3月9日 上午10:27:27
 */
package com.shishuo.cms.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.shishuo.cms.service.ArticleService;
import com.shishuo.cms.service.ClassesService;
import com.shishuo.cms.service.ConfigService;
import com.shishuo.cms.service.UserService;

public class IndexBaseAction extends BaseAjaxAction
{
	@Autowired
	private ConfigService configService;
	@Autowired
	protected ClassesService classesService;
	@Autowired
	protected ArticleService articleService;
	@Autowired
	protected UserService userService;
	public String getTemplatePath() throws Exception
	{
		return "template/" + configService.getConfigByKey("SYS_THEME")+"/" ;
	}
}
